053 mc_home & mc_halt
您好,在这个视频中,我们将继续添加我们的功能博客。
Hello, in this video, we will continue to add our function blogs.
好的,现在我们将插入并查看主页功能。
OK, now we will insert and see home function.
看看这里,让我们添加这里,空的家。
Look to here and let's add here, empty home.
功能块,它还需要数据块,我会说,好吧,轴是我们将使用零一。
Function block, and it needs to data block also, and I will say, OK, the axis is that we are going to use zero one.
好的,那么我们如何执行这个归位指令呢?
OK, and how can we execute this homing instruction?
我将去我的服务器运行数据块并嗡嗡地启动,好的。
I will go to my server run data block and humming start, OK.
在这个函数中,我会说 Celeron 点嗡嗡声停止。
And in here in this function I will say Celeron point humming stop.
而位置是我们需要将我们的位置添加到这里。
And the position is that we need to add our position to here.
哪个位置将是我们的成型位置。
Which position is going to be our forming position.
我会去那里哼哼。
I will go there and humming.
暂停,好吧,这不会是胡言乱语。
Pause, OK, this is not going to be bull.
这将是整数值,好吗?
This is going to be integer value, OK?
在这里我会去那里,然后我会来到这里,在一个共同的位置内,好吗?
And in here I will go that and I will come to here and inside of a common position, OK?
飞蛾将为零,我会下降一点,好吧。
And the moth is going to be zero and I will go a little bit down, OK.
我们也可以在这里说,让我们回家吧。
And we can say in here also let's go that homing.
完毕。
Done.
好的,我会去那个功能障碍博客,然后再一次,我会回到家。
OK, I will go that dysfunction blog, and again, I will run point home in.
不,这是不正确的。
No, this is not correct.
我会再次回到这里,这不是整数就可以了。
I will go again to here, this is not integer is going to be OK.
文塞雷莫斯。
Venceremos.
它已经来到这里了。
It's come to here.
所以点下来。
So point coming down.
这是正确的。
That's correct.
这就是我执行此操作时的全部内容。
And this is the whole thing when I execute this.
这样做,呃,这是我激活撤防开始输入时的触点,会发生什么?
Do this, uh, this is the contact when I activate disarming start input, what will happen?
该函数将被运行,我们的启动子将根据该位置前往归位位置。
This function is going to be run and our promoter is going to go to homing position according to this position.
好吧,如果我把你的零填进去,它就会变为零。
OK, if I put your zero, it will go to zero.
如果轮到你了,就会到十。
If I put your turn, it will go to ten.
如果它在一百处等待,它就会向后退。
If it if it is waiting at the one hundred, it will go backward.
如果是等待的话,比如负20,就到十,好,就往前走。
If it is waiting, for example, minus 20, it will go to ten, OK, it will go forward.
我们还可以,呃,我们需要知道看到停止并停止萨哈瓦。
And also we can uh we need to know see halt and stops Sahawa.
嗯。
Um.
他恳求说,好吧,这真的很重要,我们怎样才能立即停止我们的悲伤,到那时,我们该怎么做呢?
He made a plea, OK, this is really important, how can we stop our sorrows immediately and at that point, how can we do this?
我们需要使用 now 来帮助运行。
We need to use now to help function.
好的,所以这需要看一下。
OK, so this needs to take a look.
我说,好吧,现在,我们要立即停止,我们将停止萨罗一号,我们如何才能阻止它,例如,在这里,停止。
And I said, OK, and now, which we are going to stop immediately, we will stop Sarro one and how can we stop it, for example, in here, stop.
所以这将是公牛,在服务区,我会说暗影狂奔女王停止萨罗。
So this is going to be bull and in the service area and I will say Shadowrun queen stop sarro.
好的,这就是我们如何使用以及如何阻止当我激活这个输入时会发生什么,这个账单,这个服务器将立即停止,一直到这个输入出现问题为止。
OK, so this is our how can we use and how to function block what will happen when I activate this input, this bill, this server is going to be stopped immediately, always till this input is going to be of situation.
好的,如果我按计划激活就会停止。
OK, and if I activate is on schedule will be stop.
如果我决定做这个,如果我说,例如,回家,Cormega 将继续或开始正常并通电。
And if I decide to make this and if I say, for example, go home in, Cormega is going to continue or start OK and be powered.
我们设置了它并进行了归位,现在我们停止了服务器。
And we set it and we did a homing and now we stop our server.
在下一个视频中,我们将学习重要的和其他三个功能块。
In the next video, we will learn the important and other three function block.
我已经完成这个视频了。
I am finished for this video.
下一个视频见。
See you in the next video.